package com.mbc.web.common.client.ui.control;

import com.google.gwt.i18n.client.HasDirection.Direction;
import com.google.gwt.i18n.shared.DirectionEstimator;
import com.google.gwt.safehtml.shared.SafeHtml;
import com.google.gwt.user.client.ui.RadioButton;

public class MRadioButton extends RadioButton {

	public MRadioButton(){
		super("");
	}
	
	public MRadioButton(String name) {
		super(name);
	}

	public MRadioButton(String name, SafeHtml label){
		super(name, label);
	}
	
	public MRadioButton(String name, SafeHtml label, Direction dir){
		super(name, label, dir);
	}
	
	public MRadioButton(String name, SafeHtml label, DirectionEstimator directionEstimator){
		super(name, label, directionEstimator);
	}
	
	public MRadioButton(String name, String label){
		super(name, label);
	}
	
	public MRadioButton(String name, String label, Direction dir){
		super(name, label, dir);
	}
	
	public MRadioButton(String name, String label, DirectionEstimator directionEstimator){
		super(name, label, directionEstimator);
	}
	
	public MRadioButton(String name, String label, boolean asHTML){
		super(name, label, asHTML);
	}
	
	public void setTabindex(String tabindex){
		this.getElement().getFirstChildElement().setAttribute("tabindex", tabindex);
	}
}
